package com.xin.di.uav.common.response.operational;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 01430312
 */
@Data
public class PromotionRecordsResponse {

    private Integer type;

    @ApiModelProperty("完成时间，具体到秒")
    private Date finishTime;

    @ApiModelProperty("完成日期，具体到某一天")
    private Date finishDate;

    @ApiModelProperty("推广奖励金额")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal promotionReward;

    @ApiModelProperty("奖励类型，0同城，1跨城")
    private Byte rewardType;

    @ApiModelProperty("奖励名称")
    private String rewardTypeName;
}
